home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / include / repair / tree.h < prev    next >
C/C++ Source or Header  |  2006-01-09  |  1KB  |  38 lines

  1. /* Copyright 2001, 2002, 2003, 2004 by Hans Reiser, licensing governed by
  2.    reiser4progs/COPYING.
  3.    
  4.    repair/tree.h -- reiserfs tree recovery structures and macros. */
  5.  
  6. #ifndef REPAIR_TREE_H
  7. #define REPAIR_TREE_H
  8.  
  9. #include <repair/repair.h>
  10.  
  11. extern errno_t repair_tree_parent_rkey(reiser4_tree_t *tree,
  12.                        reiser4_node_t *node, 
  13.                        reiser4_key_t *rd_key);
  14.  
  15. extern errno_t repair_tree_parent_lkey(reiser4_tree_t *tree,
  16.                        reiser4_node_t *node, 
  17.                        reiser4_key_t *ld_key); 
  18.  
  19. extern reiser4_node_t *repair_tree_load_node(reiser4_tree_t *tree, 
  20.                      reiser4_node_t *parent,
  21.                      blk_t blk, uint32_t mkid);
  22.  
  23. extern errno_t repair_tree_dknode_check(reiser4_tree_t *tree, 
  24.                     reiser4_node_t *node,
  25.                     uint8_t mode);
  26.  
  27. extern errno_t repair_tree_insert(reiser4_tree_t *tree,
  28.                   reiser4_place_t *place,
  29.                   region_func_t func, void *data);
  30.  
  31. extern errno_t repair_tree_attach_node(reiser4_tree_t *tree,
  32.                        reiser4_node_t *node);
  33.  
  34. extern bool_t repair_tree_data_level(uint8_t level);
  35. extern bool_t repair_tree_legal_level(reiser4_plug_t *plug, uint8_t level);
  36.  
  37. #endif
  38.